
function loadFromLocalhost()
{
        //var url$ = "http://geoportal-dev.atech.tufts.edu:80/temp.jsp";
	var url$ = "temp.jsp";
        alert("in loadFromLocalhost, with url$ = " + url$);
        var xmlHttpRequest = new XMLHttpRequest();
        xmlHttpRequest.open("GET", url$,true);
        xmlHttpRequest.onreadystatechange=function()
        {
                if ((xmlHttpRequest.readyState == 4) && (xmlHttpRequest.status == 200))
                {
                        foobar = xmlHttpRequest;
                        alert("local: success, response = " + xmlHttpRequest.responseText);
                }
                else
                {
                        foobar = xmlHttpRequest;
                        alert("local: xmlHttpRequest.readyState " + ", " + xmlHttpRequest.status + ", response = " + xmlHttpRequest.responseText);
                }
        }
        xmlHttpRequest.send(null);

}
